package com.wisdytech.linkdcs.equipLifeCycle.malfunction.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-07-24
 */
@TableName("TT_EQ_MALFUNCTION_DEMO")
public class MalfunctionDemo extends Model<MalfunctionDemo> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 故障分类
     */
    @TableField("MALFUNCTION_TYPE")
    private String malfunctionType;
    /**
     * 故障标题
     */
    @TableField("MALFUNCTION_TITLE")
    private String malfunctionTitle;
    /**
     * 故障等级
     */
    @TableField("MALFUNCTION_GRADE")
    private String malfunctionGrade;
    /**
     * 详情描述
     */
    @TableField("MALFUNCTION_DESC")
    private String malfunctionDesc;
    /**
     * 故障原因
     */
    @TableField("MALFUNCTION_REASON")
    private String malfunctionReason;
    /**
     * 原因分析
     */
    @TableField("REASON_ANALYSIS")
    private String reasonAnalysis;
    /**
     * 维修措施
     */
    @TableField("SERVICING_MEASURE")
    private String servicingMeasure;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;

    @TableField(exist=false)
    private String malfunctionTypeValue;
    
    @TableField(exist=false)
    private String malfunctionReasonName;

    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getMalfunctionType() {
        return malfunctionType;
    }

    public void setMalfunctionType(String malfunctionType) {
        this.malfunctionType = malfunctionType;
    }

    public String getMalfunctionTitle() {
        return malfunctionTitle;
    }

    public void setMalfunctionTitle(String malfunctionTitle) {
        this.malfunctionTitle = malfunctionTitle;
    }

    public String getMalfunctionGrade() {
        return malfunctionGrade;
    }

    public void setMalfunctionGrade(String malfunctionGrade) {
        this.malfunctionGrade = malfunctionGrade;
    }

    public String getMalfunctionDesc() {
        return malfunctionDesc;
    }

    public void setMalfunctionDesc(String malfunctionDesc) {
        this.malfunctionDesc = malfunctionDesc;
    }

    public String getMalfunctionReason() {
        return malfunctionReason;
    }

    public void setMalfunctionReason(String malfunctionReason) {
        this.malfunctionReason = malfunctionReason;
    }

    public String getReasonAnalysis() {
        return reasonAnalysis;
    }

    public void setReasonAnalysis(String reasonAnalysis) {
        this.reasonAnalysis = reasonAnalysis;
    }

    public String getServicingMeasure() {
        return servicingMeasure;
    }

    public void setServicingMeasure(String servicingMeasure) {
        this.servicingMeasure = servicingMeasure;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

	public String getMalfunctionTypeValue() {
		return malfunctionTypeValue;
	}

	public void setMalfunctionTypeValue(String malfunctionTypeValue) {
		this.malfunctionTypeValue = malfunctionTypeValue;
	}

	public String getMalfunctionReasonName() {
		return malfunctionReasonName;
	}

	public void setMalfunctionReasonName(String malfunctionReasonName) {
		this.malfunctionReasonName = malfunctionReasonName;
	}

	
	
}
